/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package junchangmis;

import java.util.logging.Level;
import java.util.logging.Logger;
import java.io.File;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

/**
 *
 * @author developers
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            // TODO code application logic here
            File newComer = new File("试听生登记表");
            newComer.mkdir();
            File formalStu = new File("交费登记表");
            formalStu.mkdir();
            File idAccount = new File("学生证和收据");
            idAccount.mkdir();
            File duty = new File("正式生考勤表");
            duty.mkdir();
            File birthday = new File("生日统计表");
            birthday.mkdir();
            File firstFee = new File("初次交费统计表");
            firstFee.mkdir();
            File getFee = new File("催费通知单");
            getFee.mkdir();
            File teacherDuty = new File("教师考勤考核表");
            teacherDuty.mkdir();
            File wage = new File("教师考勤考及工资一览表");
            wage.mkdir();
            File newDuty = new File("试听生考勤表");
            newDuty.mkdir();

            MainFrame.setDefaultLookAndFeelDecorated(true);
            //UIManager.setLookAndFeel("com.jtattoo.plaf.mcwin.McWinLookAndFeel");
            //UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
            //UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
            UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
            MainFrame fr = new MainFrame();
            fr.setVisible(true);
        } catch (ClassNotFoundException ex) {
            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
        } catch (UnsupportedLookAndFeelException ex) {
            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
